• Install Python3
  • Install Sublime3
  • Install Package Control in Sublime3
  • Switch Python3 as default version: edit config file ~/.bash_profile add a line:alias python="/usr/local/bin/python3"and then source ~/.bash_profile save configuration.
  • Install Scrapy pip3 install Scrapy and create link ln -s /Library/Frameworks/Python.framework/Versions/3.7/bin/scrapy /usr/local/bin/scrapy

Usage
1
2
3
4
5
o  加一行
dd 删除当前行
i 编辑模式
ESC 退出编辑模式
: 命令模式 wq保存退出